package com.fangzhi.service;

import com.fangzhi.mobel.ProductType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fangzhi.mobel.io.SaveProductTypeIo;
import com.fangzhi.utils.ResponseResult;

/**
* @author edy
* @description 针对表【product_type(类目表)】的数据库操作Service
* @createDate 2024-09-12 16:28:09
*/
public interface ProductTypeService extends IService<ProductType> {

    ResponseResult saveProductType(SaveProductTypeIo io);

    ResponseResult productList();

    ResponseResult productListById(Integer id, String name, Integer pageNo, Integer pageSize);

    ResponseResult removeProductType(Integer id);

    String queryBaneById(Long productTypeId);

    ResponseResult queryProductDetail(Integer id);

    ResponseResult updateProductType(SaveProductTypeIo io);
}
